<?php 
/**
 * Project: HTPHouDuan
 * User: xilibo
 * Date: 2018/1/25
 * 错误码定义
 */

return [
	'system_error' => [
		'code' => 1000,
		'系统错误',
	],
    'secret_key_error' => [
        'code' => 1001,
        'msg' => '加密密钥有误',
    ],
	'authorize_fail' => [
		'code' => 1002,
		'msg' => '授权失败',
	],
	'param_error' => [
		'code' => 1010,
		'msg' => '请求参数有误',
	],
	'node_not_exists' => [
		'code' => 1011,
		'msg' => '节点不存在',
	],
	'uname_empty' => [
		'code' => 1020,
		'msg' => '用户名不能为空',
	],
    'user_code_error' => [
		'code' => 1021,
		'msg' => 'code参数不正确',
	],
	'act_empty' => [
		'code' => 1022,
		'msg' => '参数act不能为空'
	],
	'user_not_exists' => [
		'code' => 1023,
		'msg' => '用户不存在',
	],
	'user_register_fail' => [
		'code' => 1024,
		'msg' => '用户注册失败',
	],
	'user_login_fail' => [
		'code' => 1025,
		'msg' => '用户登陆失败',
	],
	'admin_login_fail' => [
		'code' => 1026,
		'msg' => '管理员登陆失败',
	],
	'super_admin_login_fail' => [
		'code' => 1027,
		'msg' => '超级管理员登陆失败',
	],
	
];